host: '[spqr_router_1_1]'
router_port: '8432'
admin_console_port: '8433'
grpc_api_port: '7001'

world_shard_fallback: true

router_mode: PROXY

frontend_tls:
  key_file: /etc/odyssey/ssl/server.key
  cert_file: /etc/odyssey/ssl/server.crt
  sslmode: disable

frontend_rules:
  - usr: user1
    db: db1
    pool_mode: TRANSACTION
    auth_rule:
      auth_method: ok
      password: strong

backend_rules:
  - usr: user1
    db: db1
    pool_discard: true
    pool_rollback: true
    auth_rule:
      password: strong

shards:
  sh1:
    tls:
      root_cert_file: /path/to/root.ca
      sslmode: disable
    db: db1
    usr: user1
    pwd: 12345678
    type: DATA
    hosts:
      - '192.168.233.2:6432'
  sh2:
    tls:
      root_cert_file: /path/to/root.ca
      sslmode: disable
    type: DATA
    hosts:
      - '192.168.233.3:6432'
  w1:
    tls:
      root_cert_file: /path/to/root.ca
      sslmode: disable
    db: db1
    usr: user1
    pwd: 12345678
    type: WORLD
    hosts:
      - '192.168.233.8:6432'
